@extends('web.common.main')
@section('container')
<div class="v3-contain">
    <div class="v3-list j_tab">
        {{-- <div class="v3-breadcrumb">
            <a href="index.html">首页</a>
            <span>&gt;&gt;</span>
            <a href="market.html">市场合作</a>
            <span>&gt;&gt;</span>
            <a href="search.html">找服务商</a>
            <span>&gt;&gt;</span>
            <span class="current">企业信息录入</span>
        </div>
 --}}
        <div class="v3-common_title ssv_title">
            {{-- <a class="btn" href="#">数据有误？点这里</a> --}}
            {{$companyName}}
        </div>
        <ul class="v3-view_field ssv_field">
            <li>
                <div class="key">注册地：</div>
                <div class="val">
                    <span>{{$registAddressNameP}}</span>
                    <span>{{$registAddressNameC}}</span>
                    <span>{{$registAddressNameA}}</span>
                    <br>{{$registAddress}}
                </div>
            </li>
            <li>
                <div class="key">法人代表：</div>
                <div class="val">{{$leganUser}}</div>
            </li>
            <li>
                <div class="key">涉及领域：</div>
                <div class="val">
                    @forelse($domain as $k=>$v)
                        <span>{{$v}}</span>
                    @empty
                    @endforelse
                </div>
            </li>
        </ul>
        <div class="v3-view_content ssv_content">
            <div class="form-group">
                <label>技术路径及服务能力</label>
                <div class="form-control_text">
                    @forelse($techRouteInfo as $k=>$v)
                    <dl>
                        <dt>{{$v['name']}}</dt>
                        <dd>
                            <?php $arr = [];
$v['flag'] = str_pad($v['flag'], 6, '0', STR_PAD_LEFT);?>
                            <?php @$v['flag'][0] == 1 ? array_push($arr, '评估咨询') : '';?>
                            <?php @$v['flag'][1] == 1 ? array_push($arr, '方案设计') : '';?>
                            <?php @$v['flag'][2] == 1 ? array_push($arr, '建设实施') : '';?>
                            <?php @$v['flag'][3] == 1 ? array_push($arr, '运维') : '';?>
                            <?php @$v['flag'][4] == 1 ? array_push($arr, '设备供应') : '';?>
                            <?php @$v['flag'][5] == 1 ? array_push($arr, '其他') : '';?>
                            <?php echo implode(' | ', $arr); ?>
                        </dd>
                    </dl>
                    @empty

                    @endforelse
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
